package com.ruoyi.erecord.vehicles.service;

import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.erecord.vehicles.domain.VehiclesImportBase;
import com.ruoyi.erecord.vehicles.domain.bo.VehiclesImportBaseBo;
import com.ruoyi.erecord.vehicles.domain.vo.VehiclesImportBaseVo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 车辆导入主Service接口
 *
 * @author cc
 * @date 2023-04-18
 */
public interface IVehiclesImportBaseService {

    /**
     * 查询车辆导入主
     */
    VehiclesImportBaseVo queryById(String batchNo);

    /**
     * 查询车辆导入主列表
     */
    TableDataInfo<VehiclesImportBaseVo> queryPageList(VehiclesImportBaseBo bo, PageQuery pageQuery);

    /**
     * 查询车辆导入主列表
     */
    List<VehiclesImportBaseVo> queryList(VehiclesImportBaseBo bo);

    /**
     * 新增车辆导入主
     */
    Boolean insertByBo(VehiclesImportBaseBo bo);

    /**
     * 修改车辆导入主
     */
    Boolean updateByBo(VehiclesImportBaseBo bo);

    /**
     * 校验并批量删除车辆导入主信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);
}
